package com.kingyun.gpsinspection.purificationservice.dao.mapper.tdm;


import com.kingyun.gpsinspection.purificationservice.facade.model.File;

import java.util.List;
import java.util.Map;

/**
 * 附件Mapper
 */
public interface TdmFileMapper {
    int deleteByPrimaryKey(String fileId);

    int insert(File record);

    int insertSelective(File record);

    File selectByPrimaryKey(String fileId);

    int updateByPrimaryKeySelective(File record);

    int updateByPrimaryKey(File record);

    int insertByList(List<File> list);

    List<File> queryByBusinessId(String businessId);

    int delByBusinessId(String businessId);

    int delByFileHbasePath(String fileHbasePath);

    List<File> queryByBusinessIdTrait(Map map);
}